@layout("/common/_container.html"){
<div class="ibox float-e-margins ">
    <div class="ibox-content" style="padding: 0;">
        <div style="display: none">
            <input type="hidden" id="doctorValue" value="">
            <input type="hidden" id="treatmentUnitValue" value="">
            <input type="hidden" id="menuName" value="医生-业绩查询">
            <input type="hidden" id="dimensionSelection" value="executive">
            <input type="hidden" id="sttleAccountsTime" value="${sttleAccountsTime}">
        </div>
        <div class="numStatistics">
            <div><div onclick="Performance.executivePerformance('executive')"><span>执行业绩</span>（<span id="all">0</span>）</div></div>
            <div onclick="Performance.executivePerformance('triage')"><span>分诊业绩</span>（<span id="fall">0</span>）</div>
            <div onclick="displayHiding('CustomerPerformanceTable')" id="zoom">
                <input type="hidden" id="reach" value="">
                <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/open.png" alt="">
                <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/shrink.png" alt="" style="display: none">
                <span>条件展开</span>
            </div>
        </div>
        <div class="divFlex" style="display: none">
            <div class="flex_one">
                <div>门店</div>
                <div>科室</div>
                <div>咨询项目</div>
                <div>TC</div>
                <div>医生</div>
            </div>
            <div class="flex_two">
                <div>
                    <select id="arrivalStore" name="arrivalStore" class="selectpicker" multiple data-actions-box="true" title="请选择" onchange="Performance.search()">
                        @for(str in outpatientManagementList){
                        <option value="${str.simplename}">${str.simplename}</option>
                        @}
                    </select>
                </div>
                <div>
                    <select id="treatmentUnit" name="treatmentUnit" title="请选择" onchange="Performance.search()">
                        <option value="">--请选择科室--</option>
                        @for(str in departmentList){
                        <option value="${str.department}">${str.department}</option>
                        @}
                    </select>
                </div>
                <div>
                    <select type="text" class="selectpicker" id="appointmentPayService" multiple data-actions-box="true" title="请选择" name="appointmentPayService" style="border: 1px solid #999999;" onchange="Performance.search()">
                        @for(str in departmentList){
                        <option value="${str.department}">${str.department}</option>
                        @}
                    </select>
                </div>
                <div>
                    <select type="text" id="fieldTc" name="fieldTc" onchange="Performance.search()">
                        <option value="">--请选择TC--</option>
                        @for(str in tcList){
                        <option value="${str.tcName}">${str.tcName}</option>
                        @}
                    </select>
                </div>
                <div>
                    <select type="text" id="doctor" name="doctor" onchange="Performance.search()">
                        <option value="">--请选择医生--</option>
                        @for(str in doctorList){
                        <option value="${str.doctor}">${str.doctor}</option>
                        @}
                    </select>
                </div>
            </div>
        </div>
        <div class="timeButton">
            <div class="timeBox">
                <div>
                    <span>划价时间</span>
                    <input type="text" id="startCreateTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD 00:00:00',choose:checkDate})">
                    <span>-</span>
                    <input type="text" id="endCreateTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD 23:59:59',choose:checkDate})">
                </div>
                <div>
                    <button type="button" class="btn" onclick="Performance.naturalDaySearch(1)">自然时间</button>
                    <button type="button" class="btn" onclick="Performance.naturalDaySearch(2)">扎帐时间</button>
                </div>
            </div>
            <div class="buttonBox">
                <div>
                    <button type="button" class="btn" onclick="Performance.resetSearch()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>重置</span></button>
                    <button type="button" class="btn" onclick="Performance.search()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/refresh.png"><span>刷新</span></button>
                    <button type="button" class="btn" onclick="screenTable()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/screen.png"><span>显示列</span></button>
                    <button type="button" class="btn" onclick="$('#CustomerPerformanceTable').tableExport({ type: 'excel', escape: 'false' })"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/export.png"><span>导出</span></button>
                </div>
            </div>
        </div>
        <div id="PerformanceTableBox">
            <div class="tableBox">
                <#table id="CustomerPerformanceTable"/>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/doctorLooked/customer_query_performance.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/tcCenter/consultant/doctorSearchContent.js?v=20200718"></script>
@}